package updown.constant;

/**
 * <p>Title: com.damai.downupservice.constant </p>
 * <p>Description:updown: -  </p>
 *
 * @Author:jiangkaixin
 * @Date:2021/11/5
 * @Version: 1.0
 */
public class GeneralConstant {
    /** 任务类型 */
    public static final String TASK_WRAPPER_TYPE = "Jar包上传";
    public static final String TASK_WRAPPER_DOWN_UP = "服务替换";
    public static final String TASK_WRAPPER_DOWN_UP_SCHEDULE = "定时服务替换";
    public static final String TASK_WRAPPER_DOWN_UP_ROLLBACK = "服务回滚";

    /** 任务编号 */
    /** 执行重启脚本 */
    public static final String RETRY_TYPE_SEND_DOWN = "1";
    /** kill15 脚本执行 */
    public static final String RETRY_TYPE_KILL15 = "2";
    /** 执行完之后 检查 eureka 是否还存在服务 */
    public static final String RETRY_TYPE_CHECK_CANCEL = "3";
    /** Status=DOWN 请求 */
    public static final String RETRY_TYPE_RESTART = "4";
    /** 重启之后 是否 成功注册到 eureka */
    public static final String RETRY_TYPE_RE_REGISTER_EUREKA = "5";
    /** 检查本地缓存 */
    public static final String RETRY_TYPE_CHECK_LOCAL = "6";
}
